﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.RoboticOperationMerge.CUiROMTargetInfo
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using Tecnomatix.Engineering;


namespace DnProcessSimulateCommands.RoboticOperationMerge;

internal class CUiROMTargetInfo : CUiROMGridNodeInfo
{
  private bool m_belongToTarget;
  private ITxObject m_matchedObject;
  private double m_distance;
  private bool m_shouldMerge;

  public CUiROMTargetInfo()
  {
    this.m_belongToTarget = true;
    this.m_matchedObject = (ITxObject) null;
    this.m_distance = 0.0;
    this.m_shouldMerge = false;
  }

  public bool BelongToTarget
  {
    get => this.m_belongToTarget;
    set => this.m_belongToTarget = value;
  }

  public ITxObject MatchedObject
  {
    get => this.m_matchedObject;
    set => this.m_matchedObject = value;
  }

  public double Distance
  {
    get => this.m_distance;
    set => this.m_distance = value;
  }

  public bool ShouldMerge
  {
    get => this.m_shouldMerge;
    set => this.m_shouldMerge = value;
  }

  public override void Dispose()
  {
    if (this.m_disposed)
      return;
    this.m_disposed = true;
    base.Dispose();
  }
}
